package com.ly.admin.dto.input;

import com.alibaba.nacos.api.naming.pojo.Instance;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Accessors(chain = true)
@ApiModel(description = "实例信息")
public class InstanceInput{


    @ApiModelProperty(value = "服务名",required = true)
    @NotBlank
    private String serviceName;

    @ApiModelProperty(value = "实例信息",required = true)
    @NotNull
    private Instance instance;



}
